package com.kt.app.ui.components


import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.material3.CircularProgressIndicator
import androidx.compose.material3.LinearProgressIndicator
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.tooling.preview.Preview

@Composable
fun ProgressIndicatorSample() {
    Column {
        CircularProgressIndicator(
            color = Color.Red,
//        progress = {0.5f}
        )
        LinearProgressIndicator(
            color = Color.Green
            , modifier = Modifier.fillMaxWidth()
        )
    }

}

@Preview
@Composable
fun ProgressIndicatorSamplePreview() {
    ProgressIndicatorSample()
}

